package com.jk.service;

import com.jk.bean.Emp;
import com.jk.bean.GuangGao;
import com.jk.bean.Staff;
import com.jk.bean.User;
import com.jk.utils.ReceivePage;
import com.jk.utils.SendPage;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface UserService {
    SendPage queryUser(User user, ReceivePage rp);

    void delUser(String ids);

    User queryUserById(String id);

    void updateUser(User user, HttpServletRequest request, MultipartFile file);

    SendPage queryStaff(ReceivePage receivePage);

    void delStaff(String ids);

    void addStaff(Staff staff);

    Staff queryStaffById(String id);

    void updateUserState(User user);

    List<Staff> queryPoi(String ids);

    boolean batchImport(String fileName, MultipartFile file) throws Exception;

    boolean importMongo(String fileName, MultipartFile file)throws Exception;

    SendPage queryYuLeSP(ReceivePage page);

    void tongGuo(String ids);

    void JuJueTuiJian(String ids);

    SendPage queryGuangGaoInfo(ReceivePage page);

    void updateGGW(GuangGao gg);

    List<User> queryUserPoi(String ids);

    void updateStatus(User user);

    SendPage queryDKS(ReceivePage page);

    String deleteDKS(String ids);

    List<Emp> exportExcel();
}
